#ifndef __BSP_TIM_H
#define __BSP_TIM_H

#include "bsp.h"

//FRC_PWM1  PA7     TIM14_CH1
//FRC_PWM2  PA6     TIM13_CH1

//STL_PWM   PB4     TIM3_CH1

//定时器中断        TIM2

extern TIM_HandleTypeDef TIM2Handle;
//extern TIM_HandleTypeDef TIM5Handle;
void TIM2_Init(uint16_t ms);
void TIM5_Init(uint16_t ms);
void PWM1_Setus(uint32_t us);


#endif
